﻿using System;
using System.Collections.Generic;

namespace Kaiser.Repositories.iBatis
{
    public interface IBatisHepler
    {
        int ExcuteDelete(string tag, object paramObject);
        object ExcuteInsert(string tag, object paramObject);
        System.Data.DataTable ExcuteSelect(string tag, object paramObject);
        System.Collections.IList ExcuteSelect(string tag, object paramObject, int pageIndex, int pageSize);
        System.Collections.IList ExcuteSelectForList(string tag, object paramObject);
        IList<T> ExcuteSelectForList<T>(string tag, object paramObject);
        System.Data.DataTable ExcuteSelect(string tag, object paramObject, int PageSize, int curPage, out int recCount);
        IList<T> ExcuteSelectForList<T>(string tag, object paramObject, int PageSize, int curPage, out int recCount);
        object ExcuteSelectObj(string tag, object paramObject);
        int ExcuteUpdate(string tag, object paramObject);
    }
}
